package org.lemon.transport.context.service.queue;

public enum ServiceType {

    CORE, RULE_ENGINE, TRANSPORT, EXECUTOR, VC_EXECUTOR;

    public static ServiceType of(String serviceType) {
        return ServiceType.valueOf(serviceType.replace("-", "_").toUpperCase());
    }
}
